package threading;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: WHY
 * Date: 2023-03-15
 * Time: 19:47
 */
public class ThreadDemo7 {
    public static void main(String[] args) {
        Thread t=new Thread(()->{
            System.out.println("hello t");
        });
        t.start();
        System.out.println("hello main");
        t.getId();
        t.getName();
        t.getState();
        t.getPriority();
        t.isDaemon();
        t.isAlive();
    }
}
